﻿package {
	import flash.display.Sprite;
	import utils.appli.Case;
	import utils.appli.De;
	import utils.ihm.DeIHM;
	import utils.ihm.RegleIHM;
	import utils.appli.DeroulementPartie;
	import utils.appli.views.PlateauManager;
	
	public class Main extends Sprite {
		
		private var _nbCases:int;
				
		public function Main() {
									
			//addChild(new De());
			addChild(new RegleIHM());			
			//addChild(new DeroulementPartie());
			addChild(new PlateauManager());
			
			/*
			var ancienY = 0;
			for(var i:int = _nbCases; i<this.numChildren; i++) {
				this.getChildAt(i).y = this.getChildAt(i-1).y;
				
				this.getChildAt(i).x = this.getChildAt(i-1).x-(40+12.5);
				_nbCases = i+1;
				ancienY = this.getChildAt(i).y;
			}
			*/
			
		}
		
	}
}
